package com.itheima01;

/**
 * @author Xiao
 * @date 2021/7/10
 */
public class Dog extends Animal {
    @Override
    public void eat() {
        System.out.println(getAge() + "岁的" + getName() + "爱吃骨头");
    }

    public Dog() {
    }

    public Dog(String name, int age) {
        super(name, age);
    }
}
